home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / idl / bonobo-activation-2.0 / Bonobo_GenericFactory.idl < prev    next >
Text File  |  2006-01-09  |  1KB  |  49 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
  2. /*
  3.  * Bonobo_GenericFactory.idl: Basic object factory interface, based on CORBA
  4.  * LifeCycle version
  5.  */
  6.  
  7. #ifndef __BONOBO_GENERIC_FACTORY_IDL__
  8. #define __BONOBO_GENERIC_FACTORY_IDL__
  9.  
  10. #ifndef __Bonobo_GenericFactory_COMPILATION
  11. #ifdef __ORBIT_IDL__
  12. %{
  13. #pragma include_defs bonobo-activation/Bonobo_GenericFactory.h
  14. %}
  15. #pragma inhibit push
  16. #endif
  17. #endif
  18.  
  19. #include <Bonobo_Unknown.idl>
  20. #include <Bonobo_Activation_types.idl>
  21.  
  22. module Bonobo {
  23.     interface GenericFactory : Bonobo::Unknown {
  24.         exception CannotActivate { };
  25.  
  26.  
  27.         /**
  28.          * createObject:
  29.          * @iid: A string identifying an implementation.
  30.          *
  31.          * Returns: A newly created CORBA object of the
  32.                  * specified type, or raises the CannotActivate
  33.                  * exception.
  34.                  * 
  35.          */
  36.         Object createObject (in string iid)
  37.             raises (CannotActivate);
  38.  
  39.     };
  40. };
  41.  
  42. #ifndef __Bonobo_GenericFactory_COMPILATION
  43. #ifdef __ORBIT_IDL__
  44. #pragma inhibit pop
  45. #endif
  46. #endif
  47.  
  48. #endif /* __BONOBO_GENERIC_FACTORY_IDL__ */
  49.